package com.joysuch.wwyt.workflow.service;

import com.joysuch.wwyt.core.common.ajax.ResultBean;
import com.joysuch.wwyt.workflow.bean.WorkFlowSubmitTimeBean;
import com.joysuch.wwyt.workflow.bean.WorkFlowTaskHistoryBean;
import com.joysuch.wwyt.workflow.bean.WorkFlowTaskHistoryQueryBean;
import com.joysuch.wwyt.workflow.bean.WorkFlowTimeSliceBean;
import com.joysuch.wwyt.workflow.entity.WorkFlowTaskHistory;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface WorkFlowTaskHistoryService {

    Page<WorkFlowTaskHistoryBean> pageList(WorkFlowTaskHistoryQueryBean queryBean, Pageable pageable);

    WorkFlowTaskHistory findById(Long id);

    ResultBean workFlowTaskHis(Long taskId);

    ResultBean workFlowTaskAssignHis(String taskCode);

    WorkFlowTimeSliceBean getProcessTimePeriod(WorkFlowSubmitTimeBean bean);
    
}
